.header-bar {
  display: flex;
  height: 64px;
  width: 100%;
  padding: 0 360px;
  background: #fff;
  -webkit-box-shadow: 2px 0 3px 0 rgba(1, 8, 22, 0.06);
  -moz-box-shadow: 2px 0 3px 0 rgba(1, 8, 22, 0.06);
  box-shadow: 2px 0 3px 0 rgba(1, 8, 22, 0.06);
  span {
    cursor: pointer;
    user-select: none;
    &:last-child {
      position: relative;
      padding: 20px 12px;
      font-size: 24px;
      line-height: 24px;
      &:before {
        position: absolute;
        left: 0;
        top: 22px;
        width: 1px;
        height: 20px;
        content: '';
        border-left: 1px solid rgba(189, 192, 199, 0.6);
      }
    }
  }
  .logo-icon {
    display: inline-block;
    width: 100px;
    // height: 44px;
    margin: 10px;
    background-size: 100% 100%;
  }
}
.login-main {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(100% - 257px);
  padding: 96px 360px;
  box-sizing: border-box;
  background-size: 100% 100%;
  .login-area {
    width: 480px;
    height: 480px;
    padding: 80px;
    box-sizing: border-box;
    background: #fff;
    .tab-nav {
      position: relative;
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(234, 235, 237, 1);
      span {
        position: relative;
        color: rgba(37, 40, 46, 0.5);
        font-size: 20px;
        font-weight: 600;
        cursor: pointer;
        &:first-child {
          margin-right: 56px;
        }
      }
      .code-no-border {
        position: relative;
        color: #25282e;
      }
      .activeTab {
        position: relative;
        color: #25282e;
        /*font-weight: 600;*/
        &:after {
          position: absolute;
          left: 0;
          right: 0;
          bottom: -20px;
          width: 100%;
          border-bottom: 3px solid rgba(0, 118, 255, 1);
          content: '';
        }
      }
      .login-method {
        position: absolute;
        right: -32px;
        top: -16px;
        width: 62px;
        height: 62px;
        background: url(https://static.bimcc.net/images/web_login/web_erweima_1920.png) no-repeat;
      }
      .qr-code {
        background: url(https://static.bimcc.net/images/web_login/web_diannao_1920.png) no-repeat;
      }
    }
    .login-form {
      padding-top: 64px;
      .else-tip {
        color: rgba(125, 129, 138, 0.8);
        cursor: pointer;
        text-align: right;
        > div {
          display: inline-block;
        }
      }
      .code-method {
        text-align: center;
        p {
          color: rgba(125, 129, 138, 0.8);
          margin-top: 30px;
        }
      }
    }
  }
}
.password-area {
  position: relative;
  width: 480px;
  height: 480px;
  padding: 56px 80px;
  box-sizing: border-box;
  background: #fff;
  .pass-title {
    position: relative;
    margin-bottom: 40px;
    color: #25282e;
    font-size: 20px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    .back-icon {
      position: absolute;
      left: 0;
      width: 24px;
      height: 24px;
      cursor: pointer;
      background: url(https://static.bimcc.net/images/web_login/web_back_1920.png) no-repeat;
    }
  }
}
.login-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 193px;
  margin: 0 360px;
  padding-top: 32px;
  box-sizing: border-box;
  border-top: 1px solid rgba(189, 192, 199, 0.6);
  color: rgba(37, 40, 46, 0.64);
  font-size: 12px;
  line-height: 12px;
  .on-record {
    padding: 18px 0;
    span:first-child {
      margin-right: 24px;
    }
  }
  .company-name {
    position: relative;
    padding-left: 75px;
    img {
      position: absolute;
      left: 0;
      bottom: -50%;
    }
  }
  .public-number {
    text-align: center;
    p {
      margin-bottom: 5px;
    }
  }
}
// 判断小屏幕
@media (max-width: 1366px) {
  .header-bar {
    height: 48px;
    width: 100%;
    padding: 0 200px;
    background: #fff;
    -webkit-box-shadow: 1px 0 2px 0 rgba(1, 8, 22, 0.06);
    -moz-box-shadow: 1px 0 2px 0 rgba(1, 8, 22, 0.06);
    box-shadow: 1px 0 2px 0 rgba(1, 8, 22, 0.06);
    span {
      &:last-child {
        position: relative;
        padding: 15px 12px;
        font-size: 18px;
        line-height: 18px;
        &:before {
          content: '';
          position: absolute;
          left: 0;
          top: 16px;
          width: 1px;
          height: 18px;
          border-left: 1px solid rgba(189, 192, 199, 0.6);
        }
      }
    }
    .logo-icon {
      width: 123px;
      height: 41px;
      margin: 2px;
      background: url('../../assets/images/login1.png') no-repeat;
      background-size: 100% 100%;
    }
  }
  .login-footer {
    margin: 0 200px;
    box-sizing: border-box;
  }
  .login-main {
    height: calc(100% - 241px);
    padding: 54px 200px;
    box-sizing: border-box;
    background-size: 100% 100%;
    .login-area {
      width: 360px;
      height: 360px;
      padding: 56px;
      box-sizing: border-box;
      .tab-nav {
        padding-bottom: 9px;
        span {
          font-size: 16px;
          &:first-child {
            margin-right: 32px;
          }
        }
        .activeTab {
          &:after {
            border-bottom: 2px solid rgba(0, 118, 255, 1);
            bottom: -13px;
          }
        }
        .login-method {
          right: -22px;
          top: -12px;
          width: 44px;
          height: 44px;
          background: url(https://static.bimcc.net/images/web_login/web_erweima_1336.png) no-repeat;
        }
        .qr-code {
          background: url(https://static.bimcc.net/images/web_login/web_diannao_1336.png) no-repeat;
        }
      }
      .login-form {
        padding-top: 32px;
        .code-method {
          p {
            margin-top: 24px;
          }
        }
      }
    }
  }
  .password-area {
    width: 360px;
    height: 360px;
    padding: 32px 56px;
    .pass-title {
      margin-bottom: 26px;
      font-size: 16px;
      line-height: 16px;
      .back-icon {
        background: url(https://static.bimcc.net/images/web_login/web_back_1336.png) no-repeat;
        bottom: -4px;
      }
    }
  }
}
